﻿using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using MyFirstProject.Bll;

namespace One.Controllers
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class ShowController : ControllerBase
    {
        private TextBll _textBll;

        public ShowController(TextBll textBll)
        {
            _textBll = textBll;
        }

        [HttpGet]
        public string Test()
        {

            return _textBll.GetTestBll();
        }
    }
}
